stepper20 2.2.0
Loading...
Searching...
No Matches
stepper20_t Struct Reference

Stepper 20 Click context object. More...

#include <stepper20.h>

Data Fields

digital_out_t en
digital_out_t dir
digital_out_t rst
digital_out_t clk
digital_in_t int_pin
i2c_master_t i2c
uint8_t slave_address

Detailed Description

Stepper 20 Click context object.

Context object definition of Stepper 20 Click driver.

Field Documentation

◆ clk

digital_out_t clk

Clock signal input pin.

◆ dir

digital_out_t dir

Direction control pin.

◆ en

digital_out_t en

Enable output pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

PCA9538A interrupt pin.

◆ rst

digital_out_t rst

Electric angle reset pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).


The documentation for this struct was generated from the following file: